From 132309adaed0ae333c5fc47629ea60e11688a49d Mon Sep 17 00:00:00 2001 From: robertlipe Date: Thu, 19 Sep 2013 22:34:42 +0000 Subject: [PATCH] Tweak testo to use more common stdout capture. --- gpsbabel/testo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/testo b/gpsbabel/testo index 1f2bcabf1..1438c79a5 100755 --- a/gpsbabel/testo +++ b/gpsbabel/testo @@ -85,7 +85,7 @@ xmlwfcheck() if which ${XMLWF} >& /dev/null; then # xmlwf is a bit lame, exit status is always 0 rm -f ${TMPDIR}/xmlwf.out - ${XMLWF} $1 |& tee ${TMPDIR}/xmlwf.out + ${XMLWF} $1 2>&1 | tee ${TMPDIR}/xmlwf.out if [ -s ${TMPDIR}/xmlwf.out ]; then echo "ERROR: xml is not well-formed in $1" let errorcount=errorcount+1 -- 2.30.2